{extend name="base" /}

{block name="title"}续费钱包审核{/block}

{block name="main"}
	<!-- Content Wrapper. Contains page content -->
	<div class="content-wrapper">
		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>续费钱包审核 <small>王者荣耀</small></h1>
			<ol class="breadcrumb">
				<li><a href="/shuashuale"><i class="fa fa-home"></i> 首页</a></li>
				<li><a href="/shuashuale/user/top_up/check"> 财务管理</a></li>
				<li class="active">续费钱包审核</li>
			</ol>
		</section>

		<!-- Main content -->
		<section class="content container-fluid">
			<div class="box">
				<div class="box-header with-border">
					<h3 class="box-title">续费钱包审核</h3>
				</div>
				<!-- /.box-header -->
				<div class="box-body table-responsive no-padding">
					<table class="table table-bordered">
						<tr>
							<th>编号</th>
				    		<th>用户</th>
				    		<th>真实姓名</th>
				    		<th>云账号</th>
				    		<th>金额</th>
				    		<th>新金额</th>
				    		<th>旧金额</th>
				    		<th>创建时间</th>
				    		<th>状态</th>
				    		<th>凭证</th>
				    		<th>是否审核</th>
						</tr>
						{volist name='UserWalletVipLogs' id='UserWalletVipLog'}
						<tr>
							<td>{$UserWalletVipLog.user_wallet_vip_log_id}</td>
							<td>{$UserWalletVipLog.username}</td>
							<td>{$UserWalletVipLog.realname}</td>
							<td>{$UserWalletVipLog.bank_code}</td>
							<td>{$UserWalletVipLog.price}</td>
							<td>{$UserWalletVipLog.new_price}</td>
				    		<td>{$UserWalletVipLog.old_price}</td>
							<td>{$UserWalletVipLog.create_time}</td>
							<td>{$UserWalletVipLog.type}</td>
							<td>
								{notempty name="UserWalletVipLog.voucher"}
								<a href="/uploads/{$UserWalletVipLog.voucher}" target="_blank" title="点击放大">
									<img src="/uploads/{$UserWalletVipLog.voucher}" height="20" />
								</a>
								{/notempty}
							</td>
							<td>
								{eq name="UserWalletVipLog->getData('is_state')" value="0"}
								<a class="btn btn-danger btn-xs btn-flat" href="/shuashuale/user/top_up/checkVip?user_wallet_vip_log_id={$UserWalletVipLog.user_wallet_vip_log_id}" onClick="return confirm('是否已经收款？')">审核</a>
								{else/}
								已审核
								{/eq}
							</td>
						</tr>
						{/volist}
					</table>
				</div>
				<!-- /.box-body -->
				<div class="box-footer clearfix">
					{$UserWalletVipLogs -> render()}
				</div>
			</div>
		</section>
		<!-- /.content -->
	</div>
	<!-- /.content-wrapper -->
{/block}